#/bin/bash
echo 'abc'
echo 'abc'
echo '====             ==========================' #列表数据
for v in 1 2 3 4 5 6 7 8
    do
        echo $v
done
echo '====             ==========================' #等差数列
for v in `seq 10`
    do
        echo $v
done

echo '====             =========================='
for v in `seq 10 -2 1`
    do
        echo $v
done


echo '====             =========================='
for ((i=1;i<5;i++))
    do
        echo $i
done
echo '====             ==========================2'
for ((i=1;i<6;i++));do echo $i;done
for ((i=1;i<=5;i++));do echo $i;done
# 在脚本的最后添加这行
echo "Press any key to close..."
read -n 1

# 在脚本的最后添加这行
# tail -f /dev/null